import { request } from "@/src/service";

export const customer_collection_search = (data) =>
  request({
    api: "customer.collection.search",
    data,
    flag: "customer-wechat",
  });

export const customer_order_cancel = (data) =>
  request({
    api: "customer.order.cancel",
    data,
    flag: "customer-wechat",
  });

// 商品收藏取消接口
export const customer_collection_collection = (data) =>
  request({
    api: "customer.collection.collection",
    data,
    flag: "customer-wechat",
  });

export const customer_collection_getallcollectionsids = (data) =>
  request({
    api: "customer.collection.getallcollectionsids",
    data,
    flag: "customer-wechat",
  });
